import type { IDS, PageQuery } from '#/api/common';

import { requestClient } from '#/api/request';

const baseUrl = `/sys_biz/operlog`;

// 查询登录日志列表
export function listLog(query: PageQuery) {
  return requestClient.get(`${baseUrl}/list`, { params: query });
}

// 删除登录日志
export function delLog(logIds: IDS) {
  return requestClient.post(`${baseUrl}/remove`, logIds);
}
